import request from '@/utils/request'

// 创建清洁服务
export function createServiceInfothree(data) {
  return request({
    url: '/system/service-infothree/create',
    method: 'post',
    data: data
  })
}

// 更新清洁服务
export function updateServiceInfothree(data) {
  return request({
    url: '/system/service-infothree/update',
    method: 'put',
    data: data
  })
}

// 删除清洁服务
export function deleteServiceInfothree(id) {
  return request({
    url: '/system/service-infothree/delete?id=' + id,
    method: 'delete'
  })
}

// 获得清洁服务
export function getServiceInfothree(id) {
  return request({
    url: '/system/service-infothree/get?id=' + id,
    method: 'get'
  })
}

// 获得清洁服务分页
export function getServiceInfothreePage(params) {
  return request({
    url: '/system/service-infothree/page',
    method: 'get',
    params
  })
}
// 导出清洁服务 Excel
export function exportServiceInfothreeExcel(params) {
  return request({
    url: '/system/service-infothree/export-excel',
    method: 'get',
    params,
    responseType: 'blob'
  })
}